package io.renren.service.xtd.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.xtd.HisDepartmentDaoXtd;
import io.renren.entity.xtd.HisDepartmentEntityXtd;
import io.renren.service.xtd.HisDepartmentServiceXtd;
import io.renren.service.impl.HisDepartmentServiceImpl;


@Service("hisDepartmentServiceXtd")
public class HisDepartmentServiceImplXtd extends HisDepartmentServiceImpl implements HisDepartmentServiceXtd {
	@Autowired
	private HisDepartmentDaoXtd hisDepartmentDaoXtd;
	
	@Override
	public int queryTotalXtd(Map<String, Object> map){
		return hisDepartmentDaoXtd.queryTotalXtd(map);
	}

	@Override
	public void saveBatchXtd(List<Map<String, Object>> list) {
		hisDepartmentDaoXtd.saveBatchXtd(list);
		
	}

	@Override
	public void deleteXtd(Map<String, Object> map) {
		// TODO Auto-generated method stub
		hisDepartmentDaoXtd.deleteXtd(map);
	}

	@Override
	public HisDepartmentEntityXtd getDepNo(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return hisDepartmentDaoXtd.getDepNo(map);
	}
	
}
